# names ={"tom","李四","lucy","lily","张三"}
# for name in names:
#     print(name,end=",")
# for name in names: # name代表names中的每个元素
#     print(name,end=",")

# for x in range(1,99,5):
#     print(x,end=" ")

# for x in range(1,10,1):
#     print(x, end=" ")

# for x in range(10):
#     print(x, end=" ")

# b = range(1,35,7)
# b =list(b)
# print(b)
# b = range(1,-22,-7)
# b =list(b)
# print(b)
# print(list(range(1,-22,-7)))

# sum =0
# for x in range(1,101,1):
#     sum += x # sum=sum+x
# print(sum)

# for x in range(1000,3001):
#     if x%7 == 0 or x%5 == 0:
#         print(x,end=",")
# flog = True
# for x in range(1000, 3001):
#     if x % 7 == 0 or x % 5 == 0:
#         if flog:
#             print(x, end="")
#             flog = False
#         else:
#             print(",", x, end="", sep="")
